package com.cxy.mapper;

import com.cxy.entity.ByReviewUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ByReviewUserMapper {
    /**
     * 根据id获取当前用户信息
     * @param id
     * @return
     */
    @Select("SELECT byReviewUser from byreviewuser where id=#{id}")
    ByReviewUser getById(Long id);
}
